<div>
    <div class="body ui-widget-content ui-corner-all">
        <div class="story">
            {% with story.key.id as id_story%}
            <div class="ui-state-highlight_ ui-state-active_ _ui-widget-header ui-corner-top name">
                <a href="/story?id={{ id_story }}" class="index_content"> {{ story.name|escape }}</a>
            </div>
            <div class="column_detail" >
                <span>{{ story.category }}</span> |
                <span>{{ story.priority }}</span> |
                <span id="id_status_{{id_story}}" val="{{ id_story }}">{{ story.status }}</span> |
                <span id="id_assigned_to_{{id_story}}" val="{{ story.assigned_to }}">{{ story.assigned_to }}</span> |
                <span id="label_time_{{id_story}}">{{ story.estimated_time }}</span>
            </div>
            <div id="id_pb_{{ id_story }}" val="{{story.percentage}}"></div>
            <div class="story_controls" val="{{story.status}}" usr="{{story.contains_current_user}}" id="id_str_ctrl{{id_story}}">
                <span id="id_assign_{{id_story}}" val="{{ id_story }}" idIt="{{iteration.key.id}}" title="Assign" class="ui-icon ui-icon-person cursor_pointer float_left icon_action"></span>
                <span id="id_resolve_{{id_story}}" val="{{ id_story }}" title="Resolve" class="ui-icon ui-icon-check cursor_pointer float_left icon_action"></span>
                <span id="id_time_{{id_story}}" val="{{ id_story }}" title="Time" class="ui-icon ui-icon-clock cursor_pointer float_left icon_action"></span>
                <span id="id_reactive_{{id_story}}" val="{{ id_story }}" title="Reactive" class="ui-icon ui-icon-folder-open cursor_pointer float_left icon_action"></span>
                <span id="id_close_{{id_story}}" val="{{ id_story }}" title="Close" class="ui-icon ui-icon-power cursor_pointer float_left icon_action"></span>
                <span id="id_move_{{id_story}}" val="{{ id_story }}" title="Move" class="ui-icon ui-icon-transferthick-e-w cursor_pointer float_left icon_action"></span>
                <span id="id_edit_{{id_story}}" val="{{ id_story }}" title="Edit" class="ui-icon ui-icon-pencil cursor_pointer float_left icon_action"></span>
                <span id="id_comment_{{id_story}}" val="{{ id_story }}" title="Comment" class="ui-icon ui-icon-comment cursor_pointer icon_action"></span>
            </div>
            {% endwith %}
        </div>
    </div>
</div>
